package com.neusoft.neuiotms.dcom.repository.change;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.change.ChangeConfirmation;

public interface ChangeConfirmationRepository
        extends JpaRepository<ChangeConfirmation, Long>, CustomizedChangeConfirmationRepository {

    ChangeConfirmation findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    ChangeConfirmation findByWorkOrderNum(String workOrderNum);

}
